﻿// =================================================================== 
// 项目说明
//====================================================================
// 陈岩。@Copy Right 2006-2012
// 文件： Imglist.cs
// 项目名称：工程项目管理
// 创建时间：2012/6/29
// 负责人：陈岩
// ===================================================================
using System;
using System.Data;
using Enter.DataCommon;

namespace Enter.DataProxy.Statistics.Entity
{
	/// <summary>
	///Imglist数据实体
	/// </summary>
	[Serializable]
	public class ImglistEntity : DataMapDictionary
	{
		
		#region 公共属性
		
		///<summary>
		///
		///</summary>
		public int id
		{
			get {return Get<int>("id");}
			set {Set("id", value);}
		}

		///<summary>
		///
		///</summary>
		public string title
		{
			get {return Get<string>("title");}
			set {Set("title", value);}
		}

		///<summary>
		///
		///</summary>
		public string imgsrc
		{
			get {return Get<string>("imgsrc");}
			set {Set("imgsrc", value);}
		}

		///<summary>
		///
		///</summary>
		public int state
		{
			get {return Get<int>("state");}
			set {Set("state", value);}
		}
	
		#endregion
		
		#region 私有方法
		
				/// <summary>
		/// 表中所有的成员字段
		/// </summary>
		private static readonly MapSetSchema _schema;

		static ImglistEntity()
		{
			_schema = new MapSetSchema();
			_schema.AddField("id");
			_schema.AddField("title");
			_schema.AddField("imgsrc");
			_schema.AddField("state");
			_schema.Compile();
		}
		/// <summary>
		/// 初始化
		/// </summary>
		public ImglistEntity()
			: base(_schema)
		{

		}
		
		#endregion
	}
}
